/* ---- Style général ---- */
body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #f8f9fb, #eceef1);
  color: #1b1b1b;
  margin: 0;
  padding: 0;
}

main {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid #f1f1f1;
    margin-top: 80px; /* Ajustez selon la hauteur réelle de votre topbar */

}



/* ---- Boutons ---- */
a[role="button"],
button.redButton,
input[type="submit"] {
  display: inline-block;
  background: #ff5252;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 26px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.25s ease;
  box-shadow: 0 1px 1px 1px #d83c3c;
}

a[role="button"]:hover,
button.redButton:hover,
input[type="submit"]:hover {
  background: #d83c3c;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px 5px rgba(216, 60, 60, 0.3);
}

/* ---- Variante secondaire ---- */
a.secondary,
button.secondary {
  background: #f1f3f4;
  color: #333;
  box-shadow: 0 4px 0 #c2c2c2;
}

a.secondary:hover,
button.secondary:hover {
  background: #e5e7e9;
  transform: translateY(-2px);
}

/* ---- Bouton spécial "Télécharger extension" ---- */
.downloadExtension {
  display: inline-block;
  margin-top: 30px;
  background: #212121;
  color: #fff;
  font-size: 1.3rem;
  padding: 1em 2.2em;
  border-radius: 14px;
  box-shadow: 0 6px 0 #000;
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.2s ease;
}

.downloadExtension:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.25);
}

a[role="button"].subscribPlan {
  display: inline-block;
  margin-top: 30px;
  background: #32b186;
  color: #fff;
  font-size: 1.3rem;
  padding: 1em 2.2em;
  border-radius: 14px;
  box-shadow: 0 3px 3px 3px #066449;
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.2s ease;
}

a[role="button"].subscribPlan:hover {
  background: #45ecb5;
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.25);
}










/* ---- Formulaire ---- */
form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #444;
}

form input {
  width: 100%;
  padding: 12px 14px;
  background: #f6f6f6;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

form input:focus {
  outline: none;
  border-color: #ff5252;
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}

/* ---- Vidéo ---- */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* ratio 16/9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* ---- Pied de page ---- */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #202124;
  color: #f5f5f5;
  text-align: center;
  padding: 14px 0;
  font-size: 0.9rem;
  border-top: 3px solid #ff5252;
  letter-spacing: 0.5px;
  z-index: 1000;
}


.topbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: #202124;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: fixed;     /* Fixe la barre à l'écran */
  top: 0;              /* La colle tout en haut */
  left: 0;             /* L'aligne à gauche */
  width: 100%;         /* Elle prend toute la largeur */
  z-index: 1000;       /* S’assure qu’elle reste au-dessus des autres éléments */


}
.topbar .nav-left,
.topbar .nav-right,
.topbar .nav-lang {
  display: flex;
  align-items: center;
  
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.25rem;
}

.topbar .nav-lang{
  margin-left: auto;
  margin-right: 40px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .3px;
  transition: color .2s ease, transform .2s ease;
}

.topbar a:hover { color: #ff5252; transform: translateY(-1px); }

.lang-form select {
  position: right;

  background-color: #202124;
  color: #fff;
  border: 1px solid #555;
  border-radius: 8px;
  font-size: 1.2rem; /* augmente la taille du texte du select */
  padding: 8px 12px; /* agrandit la zone cliquable */
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.lang-form select:hover { background-color: #2c2f34; }
.lang-form select:focus { outline: none; border-color: #ff5252; }



.features {
  background: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.features .container {
  font-weight: 500; /* ou 'bold' */
  max-width: 800px;
  margin: 0 auto;
}

.features h1, h2, h3, h4 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features li {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0.8rem 0;
}

.features p {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.7;
}

.conection.validate {
  background-color: #7ce5f3;     /* bleu très clair */
  color: #fcfcfd;                /* bleu plus soutenu pour le texte */
  text-shadow:
    -1px -1px 0 rgb(64, 160, 197),  /* haut-gauche */
     1px -1px 0 rgb(64, 160, 197),  /* haut-droit */
    -1px  1px 0 rgb(64, 160, 197),  /* bas-gauche */
     1px  1px 0 rgb(64, 160, 197);  /* bas-droit */
  border: 1px solid #b3d1ff;     /* bord légèrement plus foncé */
  border-radius: 10px;           /* coins arrondis */
  padding: 12px 18px;            /* espace intérieur confortable */
  font-weight: 500;
  text-align: center;
  max-width: 400px;
  margin: 20px auto;             /* centre le bloc horizontalement */
  box-shadow: 0 2px 6px rgba(0, 74, 173, 0.1); /* ombre douce */
}

.conection.validate:hover {
  background: #b3d1ff;
  
}

.features .container .subscribPlan a.downloadExtension {
  margin-top: 20px;

}



.remember_check-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.remember_check-inline input[type="checkbox"] {
    width: 16px;
    height: 16px;
}


/* --- Dropdown topbar --- */
/* --- Dropdown topbar --- */
.topbar .dropdown {
  position: relative;
}

.topbar .dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  padding: 0;
}

.topbar .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  margin-top: 8px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  list-style: none;
  display: none;
  z-index: 2000;
}

.topbar .dropdown-menu li {
  padding: 0;
}

.topbar .dropdown-menu a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  white-space: nowrap;
}

.topbar .dropdown-menu a:hover {
  background: #f4f6fa;
}

/* 🔑 ouverture contrôlée par JS */
.topbar .dropdown.open .dropdown-menu {
  display: block;
}


.line-cool{
  margin-top:20px;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  flex-direction: row;

}


.checkbox-cool{
  width:18px;
  height:18px;
  margin-right:8px;
}

select[name="country_code"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  color: #333;
  background-color: #fff;

  border: 1px solid #ccc;
  border-radius: 6px;

  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Effet au survol */
select[name="country_code"]:hover {
  border-color: #999;
}

/* Effet au focus */
select[name="country_code"]:focus {
  outline: none;
  border-color: #4f46e5; /* bleu doux */
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Option par défaut (placeholder) */
select[name="country_code"] option[value=""] {
  color: #999;
}
